package com.kzj.laimeimei.beans;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xyg on 2015/11/9.
 */
public class ServiceBookBean implements Serializable{





    /**
     * goods : {"goods_name":"进口药妆袪痘","price":"0.01","default_image":"http://192.168.70.6:8080/data/files/store_76/goods/default_image_1436378191.jpg","service_time":"60"}
     * userinfo : {"username":"","addr":"","tel":""}
     * service_addr : ["海珠区新港中路","广东省广州市海珠区赤沙路","广东省广州市白云区泰兴路"]
     * booking_date : ["11月10日","11月11日","11月12日","11月13日","11月14日","11月15日","11月16日","11月17日","11月18日","11月19日","11月20日","11月21日","11月22日","11月23日","11月24日"]
     * booking_time : [["8:00-9:00","false"],["9:00-10:00","ture"],["10:00-11:00","false"],["11:00-12:00","ture"],["12:00-13:00","false"],["13:00-14:00","ture"],["14:00-15:00","false"],["15:00-16:00","ture"],["16:00-17:00","false"],["17:00-18:00","ture"],["18:00-19:00","false"],["19:00-20:00","ture"],["20:00-21:00","false"]]
     * coupon : [{"id":"","name":"","value":""}]
     */
    private int service_type;
    private GoodsEntity goods;
    private UserinfoEntity userinfo;
    private List<ServiceAddrEntity> service_addr;
    private List<String> booking_date;
    private List<ServiceTimeEntity> booking_time;
    private List<CouponEntity> coupon;
    private List<HomeAddressEntity> addr;



    public List<HomeAddressEntity> getAddr() {
        return addr;
    }

    public void setAddr(List<HomeAddressEntity> addr) {
        this.addr = addr;
    }

    public void setGoods(GoodsEntity goods) {
        this.goods = goods;
    }

    public void setUserinfo(UserinfoEntity userinfo) {
        this.userinfo = userinfo;
    }

    public int getService_type() {
        return service_type;
    }

    public void setService_type(int service_type) {
        this.service_type = service_type;
    }

    public void setBooking_date(List<String> booking_date) {
        this.booking_date = booking_date;
    }

    public void setBooking_time(List<ServiceTimeEntity> booking_time) {
        this.booking_time = booking_time;
    }

    public void setCoupon(List<CouponEntity> coupon) {
        this.coupon = coupon;
    }

    public GoodsEntity getGoods() {
        return goods;
    }

    public UserinfoEntity getUserinfo() {
        return userinfo;
    }

    public List<ServiceAddrEntity> getService_addr() {
        return service_addr;
    }

    public void setService_addr(List<ServiceAddrEntity> service_addr) {
        this.service_addr = service_addr;
    }

    public List<String> getBooking_date() {
        return booking_date;
    }

    public List<ServiceTimeEntity> getBooking_time() {
        return booking_time;
    }

    public List<CouponEntity> getCoupon() {
        return coupon;
    }

    public static class GoodsEntity implements Serializable{
        /**
         * goods_name : 进口药妆袪痘
         * price : 0.01
         * default_image : http://192.168.70.6:8080/data/files/store_76/goods/default_image_1436378191.jpg
         * service_time : 60
         */

        private String goods_name;
        private String price;
        private String default_image;
        private String service_time;

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setDefault_image(String default_image) {
            this.default_image = default_image;
        }

        public void setService_time(String service_time) {
            this.service_time = service_time;
        }

        public String getGoods_name() {
            return goods_name;
        }

        public String getPrice() {
            return price;
        }

        public String getDefault_image() {
            return default_image;
        }

        public String getService_time() {
            return service_time;
        }
    }

    public static class UserinfoEntity implements Serializable{
        private String real_name ;
        private String phone_mob;

        public String getReal_name() {
            return real_name;
        }

        public void setReal_name(String real_name) {
            this.real_name = real_name;
        }

        public String getPhone_mob() {
            return phone_mob;
        }

        public void setPhone_mob(String phone_mob) {
            this.phone_mob = phone_mob;
        }
    }

    public static class CouponEntity implements Serializable{
        /**
         * id :
         * name :
         * value :
         */

        private String coupon_id ;
        private String coupon_name;
        private String coupon_value;
        private  String coupon_type;

        public String getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(String coupon_id) {
            this.coupon_id = coupon_id;
        }

        public String getCoupon_name() {
            return coupon_name;
        }

        public void setCoupon_name(String coupon_name) {
            this.coupon_name = coupon_name;
        }

        public String getCoupon_value() {
            return coupon_value;
        }

        public void setCoupon_value(String coupon_value) {
            this.coupon_value = coupon_value;
        }

        public String getCoupon_type() {
            return coupon_type;
        }

        public void setCoupon_type(String coupon_type) {
            this.coupon_type = coupon_type;
        }
    }

    public static class ServiceAddrEntity implements Serializable{
        /**
         * store_id : 122
         * store_name : 美吧Test
         * service_address : 广东省广州市白云区泰兴路
         * range : 0 m
         */

        private String store_id;
        private String store_name;
        private String service_address;
        private String range;
        private String tel;

        public String getTel() {
            return tel;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public void setStore_id(String store_id) {
            this.store_id = store_id;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public void setService_address(String service_address) {
            this.service_address = service_address;
        }

        public void setRange(String range) {
            this.range = range;
        }

        public String getStore_id() {
            return store_id;
        }

        public String getStore_name() {
            return store_name;
        }

        public String getService_address() {
            return service_address;
        }

        public String getRange() {
            return range;
        }
    }

    public static class ServiceTimeEntity implements Serializable{

        String time;
        String is_use;

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getIs_use() {
            return is_use;
        }

        public void setIs_use(String is_use) {
            this.is_use = is_use;
        }
    }

    public static class HomeAddressEntity implements Serializable{

        String addr_id;
        String consignee;
        String address;
        String phone_mob;
        String is_default;

        public String getAddr_id() {
            return addr_id;
        }

        public void setAddr_id(String addr_id) {
            this.addr_id = addr_id;
        }

        public String getConsignee() {
            return consignee;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone_mob() {
            return phone_mob;
        }

        public void setPhone_mob(String phone_mob) {
            this.phone_mob = phone_mob;
        }

        public String getIs_default() {
            return is_default;
        }

        public void setIs_default(String is_default) {
            this.is_default = is_default;
        }

    }
}
